package top.hspstudy.property.mapper;

import org.apache.ibatis.annotations.Param;
import top.hspstudy.property.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import top.hspstudy.property.entity.UserBo;

/**
* @author asus
* @description 针对表【user】的数据库操作Mapper
* @createDate 2022-02-20 13:42:34
* @Entity top.hspstudy.property.entity.User
*/
public interface UserMapper extends BaseMapper<User> {

    void deleteByUsername(@Param("username") String username);

    Integer getByUsername(String username);

    Integer getByUsernameAndPassword(@Param("username") String username,@Param("password") String password);
}




